﻿@model Model1.Groep

@{
    ViewBag.Title = "Details";
}
<fieldset>
    <h2>@Html.DisplayFor(model => model.Naam)</h2>
    @{
        foreach (Model1.Specificatie item in Model.Specificaties)
        {
            <div class="display-label" style="width: 150px; float: left;">
                @Html.Raw(item.Naam + " </div><div style='width: 800px; float:left;'>( " + ViewBag.Type[Convert.ToInt32(item.Type)]+" )")
            </div>
        }
    }
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
